#! /usr/bin/python
# -*- coding: utf-8 -*-
# :CREATED: 
# :AUTHOR: zb

from concurrent.futures import ThreadPoolExecutor
import time

def post(url,body):
    time.sleep(1)
    print(url,body)


def main():
    pool = ThreadPoolExecutor(10)
    for i in range(100):

        pool.submit(post, i, time.time())

if __name__ == '__main__':
    main()
    
